body {
    padding-bottom: 1rem !important;
}

// 头部
header {
    background-color: #fff;
    width: 100%;

    h1 {
        text-align: center;
        font-size: .16rem;
        line-height: .45rem;
    }
}


// 购物车
.xh-cart {
    width: 100%;
    padding: 0 .1rem;
    background-color: #fff;

    .cart-none {
        width: 100%;
        padding: .6rem 0;
        display: flex;
        justify-content: center;
        align-items: center;

        .pic {
            width: 1.05rem;
            height: 1.05rem;

            img {
                width: 100%;
                height: 100%;
            }
        }

        p {
            font-size: .13rem;
            color: #949494;
            line-height: .2rem;
            text-align: center;
        }

    }
}


// 商品列表

.allCheckbox {
    display: flex;
    align-items: center;
    padding-left: .05rem;
    font-size: .13rem;

    input {
        margin-right: .1rem;
    }

}

.cart-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .2rem 0.05rem;
    transition: all .5s;

    .pic {
        width: 1rem;
        height: 1rem;

        img {
            width: 100%;
            height: 100%;
        }
    }

    .cart-msg {
        margin-left: .15rem;
        height: 1rem;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: space-between;

        .title {
            width: 2rem;
            font-size: .15rem;
            font-weight: 600;
            padding: .05rem 0;
        }

        .price {
            font-size: .13rem;
            color: red;
            padding: .05rem 0;
            font-weight: 600;
        }

        .bottom {
            display: flex;
            justify-content: end;
            
            .count {
                display: flex;
                align-items: center;

                input {
                    width: .2rem;
                    height: .2rem;
                    text-align: center;
                    font-size: .14rem;
                }

                button {
                    width: .2rem;
                    height: .2rem;
                    font-size: .16rem;
                    background-color: #f5f5f5;
                    border-radius: .1rem;
                }
            }

            .remove {
                margin-left: .3rem;
                font-size: .14rem;
                color: red;
            }


        }

    }


}

.cart-settle {
    position: fixed;
    left: 0;
    bottom: .5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: .15rem;
    font-size: .13rem;

    .text {
        display: flex;
        align-items: center;

        p {
            font-size: .14rem;
            color: red;
            padding: 0 .1rem;
        }

        button {
            padding: .05rem;
            border-radius: .1rem;
            background-color: red;
            color: #fff;
            margin: 0 .05rem;
        }
    }

}